﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.teradata
{
	// Token: 0x020000CB RID: 203
	public class TTeradataBTEQCmd : TCustomSqlStatement
	{
		// Token: 0x06000748 RID: 1864 RVA: 0x0030058D File Offset: 0x002FE78D
		public TTeradataBTEQCmd(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstteradataBTEQ;
		}

		// Token: 0x06000749 RID: 1865 RVA: 0x003005A1 File Offset: 0x002FE7A1
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			return 0;
		}

		// Token: 0x0600074A RID: 1866 RVA: 0x003005A4 File Offset: 0x002FE7A4
		protected internal override int dochecksyntax(TCustomSqlStatement psql)
		{
			this.isparsed = true;
			return 0;
		}

		// Token: 0x17000154 RID: 340
		// (set) Token: 0x0600074B RID: 1867 RVA: 0x003005B0 File Offset: 0x002FE7B0
		public virtual EFindSqlStateType FindSqlStateType
		{
			set
			{
				this.sqlFindStateType = value;
				switch (value)
				{
				case EFindSqlStateType.stBTEQCmd:
					this.sqlstatementtype = ESqlStatementType.sstteradataBTEQ;
					return;
				case EFindSqlStateType.stMultiLoadCmd:
					this.sqlstatementtype = ESqlStatementType.sstteradaMultiLoad;
					return;
				case EFindSqlStateType.stFastExportCmd:
					this.sqlstatementtype = ESqlStatementType.sstteradataFastExport;
					return;
				case EFindSqlStateType.stFastLoadCmd:
					this.sqlstatementtype = ESqlStatementType.sstteradataFastLoad;
					return;
				default:
					return;
				}
			}
		}

		// Token: 0x0600074C RID: 1868 RVA: 0x0030060D File Offset: 0x002FE80D
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0600074D RID: 1869 RVA: 0x0030061D File Offset: 0x002FE81D
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x17000155 RID: 341
		// (set) Token: 0x0600074E RID: 1870 RVA: 0x0030062D File Offset: 0x002FE82D
		public virtual EFindSqlStateType SqlFindStateType
		{
			set
			{
				this.sqlFindStateType = value;
			}
		}

		// Token: 0x040011DB RID: 4571
		private EFindSqlStateType sqlFindStateType;
	}
}
